<?php 
// Get current page title
function getPageTitle() {    
    global $pages;
    global $CLAN_NAME;
    global $action;
    
    foreach ($pages as $pageName => $actionName) {
        if ($actionName == $action) {
            return "Source.Donations - $pageName - $CLAN_NAME";
        }    
    }
}
?>
        <head>
            <title><?=getPageTitle() ?></title>
            <link rel="shortcut icon" href="./images/sd.ico" type="image/x-icon" />
            <!--[if IE]>
                <link rel="stylesheet" type="text/css" href="./css/style-ie.css" />
            <![endif]-->            
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
            <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
            <script type="text/javascript" src="./js/donor-list.js"></script>            
            <link rel="stylesheet" type="text/css" href="./css/style.css" />            
            <link rel="stylesheet" type="text/css" href="css/default-theme.css" />
            <link rel="stylesheet" type="text/css" href="css/steam-profile.css" />
            <?php if ($action == 'donate'): ?>
                <script type="text/javascript" src="./js/donation.js"></script>            
            <?php elseif ($action == 'contact'): ?>
                <link rel="stylesheet" type="text/css" href="css/contact.css" />
                <script type='text/javascript' src='./js/gen_validatorv31.js'></script>
                <script type='text/javascript' src='./js/fg_captcha_validator.js'></script>            
            <?php endif; ?>
        </head>


